<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://xmlns.jcp.org/jsf/html"
      xmlns:f="http://xmlns.jcp.org/jsf/core">
    <h:head>
        <title>Mantenimieno ROL</title>
    </h:head>
    <h:body>
        <h:outputStylesheet library="styles" name="navstyle.css"  />
        <h:outputStylesheet library="styles" name="componentes.css"  />
        <h:outputStylesheet library="styles" name="default.css"  />
      
            <h:form id="frmRolpersona">

           
                <table>
                         <tr>
                            <td>ID</td>
                            <td><h:inputText value="#{rolpersonaBEAN.idrolpersona}" converter="#{String}" /></td>
                        </tr>
                        <tr>
                            <td>Nombre</td>
                            <td><h:inputText value="#{rolpersonaBEAN.nmbrolpersona}" converter="#{String}" /></td>
                        </tr>
                        <tr>
                            <td>Descripcion</td>
                            <td><h:inputText value="#{rolpersonaBEAN.dscrol}" converter="#{String}" /></td>
                        </tr>
                        <tr>
                            <td colspan="2">
                                <center>
                                <h:commandButton id="btnguardar" value="Guardar" action="#{rolpersonaBEAN.insertar()}"/>
                                </center>
                            </td>
                        </tr>
                    </table>
            </h:form>  
        </h:body>
</html>

